Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build_kernel: Speed up docker image creation #84

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

chantra
Copy link
Collaborator

@chantra chantra commented Aug 27, 2024

When building multiple kernels on the same machine, docker has to rebuild the layers over and over because the values of KERNEL_TAG/DISTRO have changed (and would be the same of KERNEL_REPO was modified).

By moving them after the package installation, it does speed up the turnover.

When building multiple kernels on the same machine, docker has to rebuild the layers over and over because the values of KERNEL_TAG/DISTRO have changed (and would be the same of KERNEL_REPO was modified).

By moving them *after* the package installation, it does speed up the turnover.

Signed-off-by: Manu Bretelle <chantr4@gmail.com>
@danobi danobi merged commit 6c08afd into danobi:master Aug 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants